package com.itsu.job.config;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.time.Duration;
import java.util.LinkedHashMap;

/**
 * @author Jerry.Su
 * @Date 2021/12/31 14:39
 */
@Getter
@Setter
@ToString
public class Job {
    private String jobId;
    private String jobDesc;
    private String cron;
    private String handlerName;
    private Duration lockTime = Duration.ofSeconds(5);
    private LinkedHashMap<String, Object> params;
}